package com.pipi.service;

import com.pipi.dao.pojo.Disk;
import com.pipi.entity.Result;
import com.pipi.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
* @author asus
* @description 针对表【user(用户表)】的数据库操作Service
* @createDate 2025-04-02 11:13:34
*/
public interface UserService extends IService<User> {

    //用户
    List<Disk> getRecommendDisk(String openId);

    List<User> getUserInfo();

    User getUserInfoByOpenId(String userOpenid);

    Result updateUserInfo(User user);

    Result addUser(User user);

    //护理人员
    Integer loginNursingStaff(String username, String password);


    List<User> getAllUser(String userStatus);

    Map<String, String> getNursingStaffInfoByOpenId(String openId);
}
